package com.awesome.img.bean;

/**
 * Author: JFangZ
 * Email:janezhang1901@163.com
 * Date: 2021/6/15 19:06
 * Description:图片压缩参数
 */
public class CompressParam {
    private int width;
    private int height;
    private int size;

    public CompressParam() {
        this(1080, 1920, 1024 * 100);
    }

    public CompressParam(int width, int height, int size) {
        this.width = width;
        this.height = height;
        this.size = size;
    }

    @Override
    public String toString() {
        return "CompressParam{" +
                "width=" + width +
                ", height=" + height +
                ", size=" + size +
                '}';
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

}
